﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Things.Web.GoodsCategory
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					Guid ID=new Guid(strid);
					ShowInfo(ID);
				}
			}
		}
		
	private void ShowInfo(Guid ID)
	{
		Things.BLL.GoodsCategory bll=new Things.BLL.GoodsCategory();
		Things.Model.GoodsCategory model=bll.GetModel(ID);
		this.lblID.Text=model.ID.ToString();
		this.lblGoodsCategoryName.Text=model.GoodsCategoryName.ToString();
		this.lblParentID.Text=model.ParentID.ToString();
		this.lblGoodsCategoryLevel.Text=model.GoodsCategoryLevel.ToString();
		this.lblGoodsCategoryOrder.Text=model.GoodsCategoryOrder.ToString();
		this.lblIsDeleted.Text=model.IsDeleted?"是":"否";

	}


    }
}
